/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package za.ac.cput.cricketgame.runs.conf;

import org.springframework.beans.factory.annotation.Configurable;
import org.springframework.context.annotation.Bean;
import za.ac.cput.cricketgame.runs.api.Impl.RunScoreImpl;
import za.ac.cput.cricketgame.runs.api.RunScore;

/**
 *
 * @author Matthew
 */
@Configurable
public class RunScoreConf {
    
   @Bean(name="currentRuns")
    public RunScore run(){
        return new RunScoreImpl();
    }
    
}
